import { MockAjax } from "@/mockApi/MockAjax";
// import { customAlphabet } from "nanoid";

const rankingTable = [
  {
    id: "01",
    money: "￥123",
    date: "2016-05-03",
    name: "Tom",
    address: "一单元二号楼301",
    tag: true,
  },
  {
    id: "02",
    money: "123",
    date: "2016-05-02",
    name: "Mack",
    address: "一单元三号楼401",
    tag: false,
  },
  {
    id: "03",
    money: "123",
    date: "2016-05-03",
    name: "Jack",
    address: "一单元四号楼501",
    tag: true,
  },
  {
    id: "04",
    money: "123",
    date: "2016-05-02",
    name: "Eric",
    address: "一单元五号楼301",
    tag: true,
  },
];

export const detailList = new MockAjax("/api/mock-detailList");

detailList.initTable(rankingTable);
